home *** CD-ROM | disk | FTP | other *** search
Makefile | 1990-11-28 | 877 b | 41 lines |
- CC =cgcc
- CFLAGS = -O -mshort -I../h
-
- SRCS= miniedit.c regexp.c regsub.c
- OBJS= miniedit.o regexp.o regsub.o
- PROG= miniedit
-
- all: $(PROG).G16
-
- $(PROG).G16: $(OBJS)
- $(CC) $(OBJS) -o $(PROG).G16 -lstdwin16 -lgem16 -mshort
-
- $(PROG).A16: $(OBJS) $(ALFA)/liba16.olb
- $(CC) $(OBJS) $(ALFA)/liba16.olb -ltermcap16 -lpml16 -o $(PROG).A16 -mshort
-
- clean:
- rm -f core *.o [,@#]*
-
- realclean: clean
- rm -f lib.a tags *.G16 *.A16
-
- # End Rules
- miniedit.o: miniedit.c
- miniedit.o: ../h/stdwin.h
- miniedit.o: ../h/stdevent.h
- miniedit.o: ../h/stdtext.h
- miniedit.o: ../h/tools.h
- miniedit.o: ../h/configure.h
- miniedit.o: ../h/l_defs.h
- miniedit.o: ../h/editwin.h
- miniedit.o: ./regexp.h
- miniedit.o: ../h/configure.h
- regexp.o: regexp.c
- regexp.o: ./regexp.h
- regexp.o: ../h/configure.h
- regexp.o: ./regmagic.h
- regsub.o: regsub.c
- regsub.o: ./regexp.h
- regsub.o: ../h/configure.h
- regsub.o: ./regmagic.h
-